package com.example.blogsystem.model;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Integer id;
    private String userName;
    private String password;
    private String avatarPath;
    private String githubUrl;
    private Integer deleteFlag;
    private Date createTime;
    private Date updateTime;
    private Integer articleNumber;
    private String email;

    public User(String userName, String password, String email) {
        this.userName = userName;
        this.password = password;
        this.email = email;
    }

    public User() {
    }
}
